package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.Icon;
import com.ytjj.qmyx.admin.model.request.IconRequest;
import com.ytjj.qmyx.admin.model.response.IconResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 *
 * @Version: 1.0
 */
@Repository
public interface IconDao {

    int create(Icon icon);

    int delete (Integer id);

    int update(Icon icon);

    List<IconResponse> selectList(IconRequest iconRequest);

    Icon selectById(Integer id);

    int updateStatus(@Param("id") Integer id,@Param("status") Integer status);
}
